<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="ie=edge" />
        <title>Document</title>
    </head>
    <body>
        <script src="./jquery/jquery.min.js"></script>

        <script>

            $.get(

                //url
                "./server/ajaxGet.php",

                //数据
                {a:200,b:300},

                // 成功回调
                function (data, status, xhr) {
                    console.log(data);
                    console.log(status, xhr);
                },

                // text 结果当做字符串解析
                // json 结果当做json解析 解析的结果是 js数据
                "text"
            );

        </script>
    </body>
</html>
